<style>


    .modal-body div {
        white-space: nowrap;

    }


    .top-right {
        margin-top: 10px;
        margin-right: 100px;
        float: right;
        color: white;
    }

    .white-btn {
        color: white;
    }
    .white-btn:hover {
        color: #e1e2e3;
    }
    .loginname:hover{
        background-color: #4b5257;
    }
</style>
<div class="top-user" style="background-color: #444;height: 50px;color:white;">
    <div class="top-left" style="float:left;margin-top:0px;line-height: 50px;height:50px;width:auto;font-size: 20px;margin-left:20px;">

        高速车主节后台系统</div>
    <div class="top-right" >
        <#if Session.user?exists>

            <div class="dropdown">
                <a  class="btn dropdown-toggle white-btn loginname" id="dropdownMenu0"
                    data-toggle="dropdown" >
                    <span class="glyphicon glyphicon-user"></span>
                    ${Session.user.username!}
                    <span class="caret"></span>
                </a>
                <ul class="dropdown-menu" role="menu" aria-labelledby="dropdownMenu0">
                    <li role="presentation">
                        <a role="menuitem" tabindex="-1" href="${base}/approve/logout.do">退出登录</a>
                    </li>

                </ul>
            </div>
        </#if>


    </div>
</div>
